package com.sy.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
@Data
@ApiModel(description = "员工登录时传递的数据模型")
public class EmployeeLoginDTO implements Serializable {
    //指定username不能为空（swagger文档会显示当前字段不能为空）
    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    //指定password不能为空
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
